try:
    num = int(input("请输入整数:"));
    result = 8 / num;
    print(result);
except ZeroDivisionError:
    print("除0错误!");
except Exception as result:
    print("未知错误 %s" %result);
else:
    print("else");
finally:
    print("finally");
print("*" * 20);